package com.bestcem.xm.deliver.controller.v2.param;

import com.bestcem.xm.common.core.annotation.XmGetQueryWebProperty;
import com.bestcem.xm.common.core.domain.base.UserBaseInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 获取专用链接参数
 */
@ApiModel(description = "分页参数")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class GetCustomlinkPageParam extends UserBaseInfo {
    /**
     * search
     */
    @ApiModelProperty(value = "查询", name = "search")
    @XmGetQueryWebProperty(value = "search")
    private String search;

    /**
     * 问卷id
     */
    @ApiModelProperty(value = "问卷id", name = "survey_id")
    @XmGetQueryWebProperty(value = "survey_id")
    @JsonProperty("survey_id")
    private String surveyId;

    /**
     * 投放id
     */
    @ApiModelProperty(value = "投放id", name = "deliver_id")
    @XmGetQueryWebProperty(value = "deliver_id")
    private String deliverId;

    /**
     * sortBy
     */
    @ApiModelProperty(value = "排序字段", name = "sortBy")
    @XmGetQueryWebProperty(value = "sortBy")
    private String sortBy;

    /**
     * title
     */
    @ApiModelProperty(value = "问卷项目名称", name = "title")
    @XmGetQueryWebProperty(value = "title")
    private String title;

    /**
     * descending
     */
    @ApiModelProperty(value = "名称", name = "descending")
    @XmGetQueryWebProperty(value = "descending")
    private String descending;
}